package cc.rengu.oltp.service.common.enums;

/**
 * 通道服务调用模式
 * Created by wangcheng on 2021/7/15 9:34
 */
public enum ChannelCallModeEnum {
    LOCAL("0", "本地调用"),
    REMOTE("1", "远程微服务调用"),
    ;
    private String mode;
    private String desc;

    ChannelCallModeEnum(String mode, String desc) {
        this.mode = mode;
        this.desc = desc;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
